Fixed #5757: fixed a bug of cc.Scale9Sprite after migrated

Fixed a bug of cc.Scale9Sprite after migrated