Fixes the progress bar.