added fallback if error loading texture