Removed code to automatically center the mouse when the cursor is hidden.