Fixed crash when launching the game