Fixed multiple Win32 locked cursor bugs.