Fixed a bug where a shape would be drag-selected regardless of how far the mouse is positioned from the shape