Fixed segfault on game close before game start