Another attempt at fixing textures