updates for latest changes in tileToSprite()