New option 'containment'.

Constrains dragging to within the bounds of the specified element or
region.