Improved dragging a bit (now the shape stores its relative position w/r to the mouse).