title: In React-Konva, How to get the position of a click on an Image-shape in a draggable Stage
body: <p>On Konva (React-Konva to be precise) there is a Stage with a Layer with an Image. 
  Clicking on that Image gives the position of the Click on that Image.
  But after Dragging (either the Stage or the Image), the position is different.</p>
  
  <p>In React-Konva code this looks basically like this: </p>
  
  <pre><code>&lt;Stage width={2000} height={2000} draggable={true}&gt;
      &lt;Layer&gt;
          &lt;MyImage url="_some_url_pointing_to_a_png_" /&gt;
      &lt;/Layer&gt;
  &lt;/Stage&gt;
  </code></pre>
  
  <p>The MyImage Component: </p>
  
  <pre><code>const MyImage = (props) =&gt; {
      const url = props.url;
      const [image, status, width, height] = useImage(url);
  
      return (
          &lt;Image
              image={image}
              width={width}
              height={height}
              onClick={clickHandler}
          /&gt;
      );
  };
  </code></pre>
  
  <p>(Yes, I modified the <a href="https://www.npmjs.com/package/use-image" rel="nofollow noreferrer">useImage React-Hook</a> to also return width and height)</p>
  
  <p>The clickHandler is quite simple: </p>
  
  <pre><code>const clickHandler = (e) =&gt; {
      const stage = e.target.getStage();
      const stageLocation = stage.getPointerPosition();
      console.table(stageLocation);
  };
  </code></pre>
  
  <p>The problem is that clicking on that image does give me a position, which seems to look ok. 
  But when I drag the image, due to 'draggable={true}' on the Stage (so, 'drag the Stage' to be precise) and then click on the same position in the Image again, I get another location. 
  This is probably obvious because it gives me the position of the Click on the Stage and not the position of the Click on the Image. </p>
  
  <p>When making the Stage not Draggable and the Image Draggable, then the same problem applies. </p>
  
  <p>So, question remains: </p>
  
  <p><strong>How to get the position of the Click on the Image when it (or its Stage) is Draggable?</strong></p>