Fixed mouse pointer sometimes not being hidden when connecting to a game.