The problem exists only in some vehicles with FFV turrets with configured enabledByAnimationSource parameter, e.g. I_Heli_Transport_02_F and O_T_VTOL_02_infantry_dynamicLoadout_F and only when ramp is closed (FFV is disabled then). Also there must be a delay between moveInTurret and moveOut at least for 1 frame.
The problem doesn't happen when:
- the ramp is opened (FFV is enabled);
- moveInTurret is called in the same frame as moveOut;
- moveInTurret is called in some time after moveOut (maybe some frames): with 60fps (VSync) it's 0.2-0.3s.