Fix crash on game creation