Fixed #4277: fixed a bug that UILoadingBar doesn't work on Scale9Sprite

Fixed a bug that UILoadingBar doesn't work on Scale9Sprite