Hi I'm having a similar problem when switching between docking stations with multple monitors. I use Remote Desktop (RD) 10.7.19 on a Macbook Air M1 and DisplayLink-enabled HP docking stations with multiple monitors.
This works fine every time I start a new RD session, but if I move from one docking station, either to just use my Mac or to another docking station, the Windows display visible in my RD window becomes bigger than the RD window and it does not seem to register my inputs (mouse clicks).
In addition, also when using RD on my Mac standalone, some windows will freeze and can't be moved, especially for Teams; even more peculiar is that sometimes the shared-desktop component/pane in Teams is drawn on my Mac display outside the RD window. (Perhaps a different issue?)