Fix a bug in Firefox with download progress bar