Fixed #1770 (tabs disappear).