Fixed an error when launching the game