moving out of the canvas while dragging a piece now cancels the drag