Ensure if an image buffer is reused for a webgl texture, it will be cleared before drawing.