Does 'InputSystem UI.unity' work with Mixed Reality?

The EventSystem in /VR Sample - URP/Scenes/InputSystem UI.unity utilizes UIInputActions.

This means it employs VisionOSSpatialPointerDevice instead of SpatialPointerDevice.

As a result, it only functions correctly in applications set to Virtual Reality AppMode.

How can we modify it to work in applications set to Mixed Reality AppMode?