XR: fix incorrect layout type