fix game window visibility