Fixing an issue with whitespace being left behind after progress bars are cleaned up.