Document-based SwiftUI Apps on visionOS 2.4 are Unusable due to a Regression

TL;DR: As a result of a gnarly regression, every document-based SwiftUI app on visionOS 2.4 is duplicating views, rendering document-based app completely unusable on the platform. I was working on porting one of my side project apps from macOS to visionOS, and at some point wanted to test