Fixed ProgressBar rendering for out-of-range numbers