Progressbar element bug fix.