3D viewer: fix disposal of text geometry