title: Top-Left coordinates not updated on rotating image using fabricjs
body: <p>When I rotate an image in fabricjs, the top-left corner's coordinates are not updated after rotated. Instead, the top-left corner of the image still refers to the old point. I believe that it should recalculate the top-left corner based on the image's new position. Is there a way to achieve this? Any help is appreciated!</p>
  
  <p>Below is the code for image rotation:</p>
  
  <pre><code>    function rotate(){    
          activeCanvas.forEachObject(function(obj){
              if(obj instanceof fabric.Image){
                  curAngle = obj.getAngle();
                  obj.setAngle(curAngle-90);            
              }
          });
          activeCanvas.renderAll();
      }
  </code></pre>
  
  <p>Now, after the rotation, I want top-left coordinates of the new rotated image but it still returns top and left from the old image state.</p>
  
  <p>For example, let say the image's top-left corner was originally at (100,200) and the image's dimensions are 500x600. Now, if I rotate the image in 90 degrees, the new dimensions are 600x500 and the top-left corner changes as well, as the image is rotated related to its center. But the fabricjs image still refers to the old top-left corner. Is there any method just like <code>setCoords()</code> to get the new upper left corner point as its top left?</p>