fixed several bugs in rendering the wireframe volumemesh.