Fix crash on game start