tracked down a longstanding and hard-to-replicate bug on IE9, which causes weird cursor offsets when lines collapse into each other.