Maze: Extra minor fix on last update

Fix a bug when the game will change from fullscreen to windowed during gameplay.