Merge pull request #494 from Maaack/fix-game-scene-freeing-windows