Fixed off-by-one bug in measurement ProgressBar