Fix long titles of tabs bug.