custom fix for progress bar on OSX