Work From Home: How to use Unreal through Remote Desktop

I’m on Win 10 and have issues with the mouse ingame. When using the mouse to look around, if I continuously move it left or right, after some time the rotation locks and I cannot rotate further in that direction. I think that this happens as if the invisible cursor would try to leave the game window but got clipped to window size. Is there any solution for that? -norelativemousemode doesn’t fix it.