fix up texture and sprites