fixed when more than one sprite in spritesheet