Fix line end movement on display lines when EOLs are visible