title: Saved FabricJS don't store lockScalingX
body: <p>After a few test I finally saved a fabric.canvas to a MySQL database, the problem is that I don't want that the images in the canvas can be resized, I only need the rotation. Unfortunately the json stored doesn't store the lockScalingX and lockScalingY properties of the fabric.Image object and when I retrieve the fabric.canvas I can resize the image.</p>
  
  <p>Is there any way to avoid this?</p>
  
  <p>I use the function </p>
  
  <pre><code>var jsonCanvas = JSON.stringify(canvas.toDatalessObject()); 
  </code></pre>
  
  <p>to store the json to a database using php
  And I retrive the stored json using </p>
  
  <pre><code>canvas.loadFromJSON(data);
  </code></pre>
  
  <p>To see what I'm talking about see this fiddle -> <a href="http://jsfiddle.net/lpccoder/YX9Wf/1/" rel="nofollow">http://jsfiddle.net/lpccoder/YX9Wf/1/</a>
  I set the oImg.lockScalingX = oImg.lockScalingY = true; before to add to canvas to avoid resizing.
  The button Save, saves the canvas but when I load it (using Load button) I can resize the image.</p>
  
  <p>Well as I don't received any answer for this, I'm trying to set the lockScalingX and lockScalingY after load the canvas, but some strange behaviour happens when I use the forEach method. I mean, I need to put an alert before the forEach to get this working, if I don't put this alert the forEach loop doesn't work. To clarify this you can see and compare this two fiddles:</p>
  
  <p>Working one -> jsfiddle.net/lpccoder/hGPCG/</p>
  
  <p>Non working one -> jsfiddle.net/lpccoder/Vv4AW/</p>
  
  <p>I'm new on javascript coding, maybe it's a newbie question, but I think that's a very strange behaviour... Any solution?</p>