The progress bar size is now properly drawn using the height and width variables.