Fixed cursor behavior to be consistent with other editors, where clicking below the last line of text will now make it go to the last column in the last line.