Fixed bug which caused the progress bar to draw outside the bezel