fix text position in progress bar, for win and mac