[Gooey] Fixed TabControl selecting invisible tabs sometimes when a tab is removed.