Small bug fix on progress bar width update