title: SwiftUI Image clipped to shape has transparent padding in context menu
body: <p>In my SwiftUI app, I have an image in my asset catalog with an aspect ratio of 1:1. In my code, I have an <code>Image</code> view with a different aspect ratio that clips the image to the new size:</p>
  <pre class="lang-swift prettyprint-override"><code>Image(&quot;My Image&quot;)
      .resizable()
      .aspectRatio(contentMode: .fill)
      .frame(width: 300, height: 250)
      .clipped()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/Nk7W6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Nk7W6.png" alt="image clipped to aspect ratio" /></a></p>
  <p>But when I attach a context menu to this image (with the <code>contextMenu</code> modifier), the original aspect ratio is still there, but with transparent padding:</p>
  <p><a href="https://i.stack.imgur.com/a4sFI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/a4sFI.png" alt="image clipped to aspect ratio with context menu" /></a></p>
  <p>How do I keep the image clipped to the new frame inside the context menu, so there's no padding?</p>