title: Drag and zoom with canvas kineticjs
body: <p>I've made a draggable stage with kineticjs and also made a zoom function by means of scaling the canvas.</p>
  
  <p>When using the zoom factor, the canvas is zooming to the center of the screen. But after dragging the canvas and using the zoom function, the canvas is still zooming to the point that was on the center at the beginning but now is dragged aside.</p>
  
  <p>What I want is to zoom to the new point that is on the center of the screen after dragging.</p>
  
  <p>Can anyone please explain how to handle this?</p>
  
  <p>Thanks in advance!</p>