fix mouse hide & show in game