Fix #188 - middle clicks were broken when tab labels got split into a child of the element.