Texture bug correction