fix compilation error in ProgressBarView.