Resolved issue when moving the cursor down on a empty line.