Texture unit fix.