How to make a perfect Nine-Patch!