Issue #2107: LoadingBar setPercent is invalid.
1. setPercent is invalid when _scale9Enabled is true.
2. setPercent is invalid when setContentSize after setPercent
Merge pull request #2133 from VisualSJ/#2107-loadingbar

Fixed #2107: LoadingBar setPercent is invalid.