How to hide NSToolbar background when NSHostingController's ScrollView is at the top

In Monterey, when a user was at the top of a ScrollView implemented inside of a NSHostingController's view (that was itself embedded in a window with a NSToolbar), the window's toolbar background would be hidden until the user scrolled from the top.

In Ventura, this behavior is different, with the toolbar's background visible all of the time unless a traditional NSScrollView is used (which means no SwiftUI).

Is there the ability to change this behavior within SwiftUI some how now?

Did you ever find fix or workaround for this?

How to hide NSToolbar background when NSHostingController's ScrollView is at the top
 
 
Q