Fix for textures