Adjust camera orientation after tilting without a contrained axis (the camera is already over it for example mouse clicks near the bottom of the screen). Fix a couple of crashes from undefined values.