Fixed "drift" along x and y axes to stay within the viewport range

Reduced the rotational drift along the x and y axes to stay within the
viewport range. Previous values caused the view to rotate out of bounds.