[Bug 617719] New: MD: incorrect caret placement on error