HitTesting example: Fix dragging of paths and segments.