Fixed the progress bar when uploading not properly showing up