Fix cursor positioning problems when updating score.