only allo resize events if the game is not in fullscreen mode ,refs #599