Fix shared-midpoint dragging. Fixes #432