Bug fix in game class