Steps to reproduce:
1. Create a new project
2. Create a new UI Document (Assets > Create > UI Toolkit > UI Document)
3. Open the created UI Document
4. Dock the UI Builder Window anywhere
5. Double click on it to maximize it
6. Double click on it to unmaximize it
7. Observe the Console
Expected result: No errors are thrown
Actual result: "AssertionException: Assertion failure. Value was False" error is thrown constantly
Reproducible in: 6000.0.34f1, 6000.0.35f1, 6000.1.0b3
Not reproducible in: 2021.3.47f1, 2022.3.56f1, 6000.0.33f1
Reproducible with: Windows 11
Not reproducible with: No other environment tested
Note: The error throwing is stopped once the Tab is closed