title: SwiftUI Image from UIImage is still stretched after setting ascpectMode: .fit
body: <p>I'm struggling to show a SwiftUI Image correctly when creating it from UIImage with the initialiser Image(uiImage: UIImage).</p>
  <p>The code I'm using is</p>
  <pre><code>private var rightViewImage: Image
  
  public var body: some View {
          ....
                    rightViewImage
                          .resizable()
                          .renderingMode(.template)
                          .scaledToFit()
                          .foregroundColor(.blue)
                          .frame(width: 20, height: 20)
  
  }
  </code></pre>
  <p>and setting the variable in a method with</p>
  <pre><code>if let image = UIImage(systemName: &quot;mic&quot;) {
     rightViewImage = Image(uiImage: image)
  }
  </code></pre>
  <p>I get a stretched version of the image</p>
  <p><img src="https://i.stack.imgur.com/3XQrI.png" alt="1" /></p>
  <p>instead of the correctly scaled one, which is this</p>
  <p><img src="https://i.stack.imgur.com/4iBDF.png" alt="2" /></p>
  <p>It seems like the .scaledToFit() is not working, it renders it like a .fill.</p>
  <p>Is this a bug?</p>