Fixed explosion when menu bar had no content.