Input Action.ReadValue<Vector3>() always returns zero in the editor as soon as the game view window loses focus, even after focus is regained

In my project, I have a script that stores a InputActionReference. In Update(), my script calls .action.readValue(), and stores that value, which it later uses to move the camera around.

This works perfectly fine until I unfocus the game view in the editor. Once I do that, Input.ReadValue() will always return (0,0,0), no matter what I do.

In the input debugger window, the keyboard still registers key presses, and the flags are reset upon regaining focus, so I am not exactly sure where to look from here.

Any ideas on what to check next would be greatly appricated!