Fix edit line length changing