I figured out that you need to use the .clipped() modifier to fix this.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: