I sort of found a workaround - at least it works for me
Use “Set Input Mode Game And UI” node instead of just “Set Input Mode Game”. Also, keep “In Widget to Focus” target unhooked. And uncheck “Hide Cursor During Capture”