XMesh shifts material ID