Fixed bug where progress bar couldn't hide