When rounded corners are used on an element with overflow:hidden, the stencil buffer is required for masking. However, the stencil clear is not enabled on the PanelSetting asset (Assets/UI Toolkit/PanelSettings, in your project).
To fix this, simply check "Clear Depth Stencil" on the PanelSettings.