Fixing a bug with the menu printing that caused all the text to scroll when a newline character was printed on the last line.