fix multi-line spritesheet rendering