added support for sliced sprites