Added function to render texture throughout spritesheet