issue #4636. refactor Scale9Sprite