bugfix to canExportMesh()