fix the progress bar, only show image when complete.