Alt tabbing away from game makes mouse/keyboard input no longer work

I’m playing “Before We Leave” (an epic games store game). It works great, except for when I alt-tab away from the game. Then the mouse and keyboard input cease to work at all.

–submit-issue: https://paste.ubuntu.com/p/CmtpnDVGKZ/
-d: https://paste.ubuntu.com/p/fCp6T2RRgc/

Epic game store log: https://paste.ubuntu.com/p/wBfjHHWzSy/