Initialize game instance on PreInitializationEvent.