Fix the infinite progress bar display