Fix odd scrolling bug in command output.