Progressbar: fix drawing regression from 16c81f7