Fix line-breaking desynchronization between textarea and mirror