Implemented NinePatchSprite. Fixed rendering.