fix save/load bug when quitting game with null gameState.