Fix for progress bar shows full 100% without dismissing