When combining keyboard+mouse input and controller input to get analog movement and mouse aiming, moving with controller input will snap where the weapon is aiming to the center of the screen after mouse aiming has moved it off center. For example, this would happen when using a Steam controller with mouselook or when using an aimpad and mouse.

Video of snapping behavior

This happens on version 1.8.0.X