Fixed an issue where toggling the small screen menu a couple of times and then expanding the window would cause the tabs to disappear.