Fix progress bar visible issue.