Fix issue where game batch thread would crash on error in game.