title: Get correct NSRect in NSTextView when image insert
body: <p>I use [NSTextView firstRectForCharacterRange:actualRange:] 
  and [NSLayoutManager boundingRectForGlyphRange:inTextContainer:] get cursor rect, it works right when only pure text in NSTextView.</p>
  
  <p>But when I insert image to text view,  [NSTextView firstRectForCharacterRange:actualRange:] return wrong result(NSRectZero), and [NSLayoutManager boundingRectForGlyphRange:inTextContainer:] return right value in TextView but convert to superview is wrong.</p>
  
  <p>only when the image is bigger than textview bounds happen.</p>
  
  <p>Anyone knows about how to resolve that?</p>