Hello, This behavior is by design. If you want to avoid this behavior, you can try full screen mode. This is the step:
- Open mstsc and choose "show options"
- Choose "display", and in display configuration, choose full screen.
---If the Answer is helpful, please click "Accept Answer" and upvote it.