Fixed slice3 paint.

It caused a memory leak in iOS (because the new BitmapData)