fix UIScale9Sprite setFlipped bug

Currently a Scale9Sprite will be flipped even if `_flippedX` or `_flippedY` is set to false, which is a bug.