While we try to find a fix for this issue, you could just click on the Green Button to restore it to the previous size and position as a workaround.
Hope this helps.
This issue has been fixed in the latest update of InDesign 2022 - version 17.3
Please update to this latest version of InDesign using Creative Cloud Desktop Application to get the fix.
An error occurred while saving the commentHerbie Hollar commented
Are you still still working to fix this issue, or did you just abandon it? Same problem in 2022.