Fix the cursor not appearing if there's less than two lines.