Fixing hidden pb when current progress is 0

pb never prints the progress bar until the first task is completed.