I mentioned why I changed those lines of code, it was to reduce the size of the shape drawn to see if it was bug in Xcode. After continuing on with the bug I figured it is a bug in Xcode.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: