Thank you for this! I'm running Monterey 12.0.1 and 13.1 and this is a workaround for me too.
I just purchased this 16in M1 Max with 64GB of ram and it is rendered completely useless by this bug.
Only fix was running Xcode in Rosetta.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: