Fixed textures not rendering correctly.