Fix Ruler to respect the minimum dragging distance