Fixes two issues: 1. Where C-e would throw the cursor somewhere on another line (or at BOF). 2. Fixes #1802; where the cursor would stop a character shy of true end-of-text.