Minor bug fix to remove session window click handler when a tab is hidden.