Fix weird backspace deleting lines issue