Bugfix: segmentation fault if the terminal window is too narrow for the Help and Quit items