Fix 3d object texturing.