Fix crash bug in moveToEOLAndInsertLFAction