fix bug for CCScale9Sprite.