Fixed issue with initializing the game through initGame