Fix the progress bar display issue