title: Capture or Export konvajs stage with the layer position
body: <p>I have 2 layers on my KonvaJs Stage. 
  The layer on front or the topmost contains shape (ie. circle or rect).
  The layer on the back is an image with 3200x3200 dimension (This will act as the background image).
  My stage is only 1024x1024. Now I had my layer on the back (which is the image) draggable. This will give me freedom to position the image the way I wanted it.</p>
  
  <p>However, whenever I export the stage as PNG, it does not include the layer final position. The export does work with all the layers and shapes. But the layer on the back which is the background image was exported as how it was positioned initially. NOT the final position after moving <code>onDragEnd</code>. Below is my straightforward script to get the image data.</p>
  
  <pre><code>   const dataURL = stage.current.toDataURL({
      quality: 1,
      pixelRatio: 2,
    });
  </code></pre>
  
  <p>Does any body knows how to properly export the stage with updated positioning of the layers? </p>
  
  <p>Any response is greatly appreciated.</p>
  
  <p>Best regards, </p>