problem with connecting with samsung s9 or s10

The screen on the computer hangs/freeze as soon as the screen on the smartphone rotates. I can only remote control if screen is portrait. can someone help me to solve this?

Tagged: