Fixed bug where the cursor is only moved down 1 line