Yes, deleting the app's folder in ~/Library/Containers/ fixes the problem. I don't have to restart the Mac, just deleting the folder resets the state of the app which makes it use the default window size.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: