Fixed progress bar bug.