Fixed #4277: fixed a bug of UILoadingBar that its width is incorrect.

Fixed a bug of UILoadingBar that its width is incorrect.