Fixed meshinstance not being const correct