Raise weapon. Rapidly switch from one side of step-lean to the other (ctrl+a -> ctrl+d or vice versa). On some occasions, the character will lower his gun instead of performing the step lean.
This is especially noticeable in the beta 2-gun firing courses, where you have to quickly move from one side of leaning around cover to the other, and has ruined some of my times.