adding spritesheet compatibility