Bug 951943 - SelectionHandler._updateCacheForSelection() Error: TypeError: rects[0] is undefined, r=margaret