Fix for mouse cursor disappearing after using F6 to reconnect