change type checking for THREE.FaceMeshMaterial - fix #296