Dragging tabs makes mouse jump to left side of tab

Continuing the discussion from Rhino 8 UI panel-related woes: