Fixed counter bug in game.