title: blurry image in canvas when using fabricjs 1.5.0
body: <p>this is how my code looks like when using fabricjs in a cordova app</p>
  
  <pre><code>function onDeviceReady() {
      pictureSource=navigator.camera.PictureSourceType;
      destinationType=navigator.camera.DestinationType;
      capturePhoto();
      canvas = new fabric.Canvas('canvas', { width: window.innerWidth, height: window.innerWidth });
      canvas.renderAll();
      ctx=canvas.getContext("2d");
  }
  
  function onPhotoDataSuccess(imageData) {canvas.setBackgroundImage('data:image/jpeg;base64,'+imageData,canvas.renderAll.bind(canvas),{
  originX: 'left',
  originY: 'top'
    });
    }
  
   function capturePhoto() {
    navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 100,
      allowEdit : true,
      saveToPhotoAlbum: true, 
      correctOrientation: true,
      destinationType: destinationType.DATA_URL,
      cameraDirection: 0});
  
  }
  
  &lt;canvas id="canvas" style="position:absolute; top:0px; left:0px;"&gt;&lt;/canvas&gt;
  </code></pre>
  
  <p>However, after capturing the photo, the photo ends up being blurry on the canvas window. Does anyone have a clue as to why this happens?</p>
  
  <p>P.S. when using fabricjs 1.6.0rc, the image no longer appears blurry, but 1.5.0 has functionality which I require</p>