Fixed slice3 paint.
It caused a memory leak in iOS.
Merge pull request #129 from jalbanesi/master

Fixed slice3 paint.