Fix ScoreCollector::addScore bug.