When the RDP connection in the maximized tab is disconnected by other clients and displays a black prompt interface:

if you minimize the tab and then click on the taskbar to restore it, the size of the tab window will change to the monitor size covering the taskbar.

just documenting bugs, I did not find a solution to fix it.