Fix for issue #2051.

The limit check was off by 90 degrees, stopping the camera from looking up.  Not perfect (can get into a lock in some situations) but usable.