Mesh viewer fix