fix 3d graphics TeXForm bug