Fix abrupt orientation change from tiltting when the camera direction and constrained axis are parallel.