Fix PlotMesh for new three.js and current material classes