Fix crash on log out.

New-style tab bar doesn't work like the old one.