(from 2.x) make context menu-driven stuff on ruler bars happen in the right place...