Fixed nullptr bug in ~Game() and ~GameObject()