Correct for possible fault on Toolbar context menu selection.