shell: Fix to make text not overflow the buttons in the hosts list