Game window is suddenly minimized