Use visibleTabs instead of tabContainer.childNodes.

Because live nodes can include closing tabs.