Fixed error in assigning mouse movement to rotation.