VirtualMouse always reads position as (0,0)

Tried to ask before working on this what the VirtualMouse input actually is, but it appears that it’s either bugged or has nothing to do with the Gamepad Cursor/Virtual Mouse sample.
I created a virtual mouse using the sample script and reading its position value with input system always returns 0, however reading the value from the device itself from the VirtualMouse monobehavior I receive a value.

7487321--921572--2.JPG 7487321--921578--4.JPG

Using Unity 2021.1.18f
UIToolkit 1.0.0-preview.17
Input System 1.0.2

I Found the issue, the VirtualMouse input does not work if you are using a Player Input module with the same input action map. You have to have a separate action map for UI only with the virtual mouse input and then it will work.