Fix tab visual when delegate prevents selection.

The tab bar visually changes its selection, and we need to undo that if the
delegate prevents actually changing tabs.