Fix dragging off-by-one