Steps to reproduce:
- Enable Compact Tab Layout.
- Open youtube.com
- Open any video.
- Go to full-screen mode.
- Exit fullscreen mode.
- The top part of Youtube vanishes.
Does NOT happen in standard tab layout. Only uBlock origin is installed in extensions. Mini Toolbar enabled/disabled does not effect this bug, in both cases the bug is present.
Does not happen in Safari in Compact layout.

The top part of the website (here youtube.com) should not go under the toolbar and should be still be visible after exiting a full-screen video in Compact layout.
Version 0.99.132.0.1-beta (WebKit 621.1.2.111.4)
Sonoma (14)