Be more defensive in ReactEditorView::activate

It is conceivable that a package could have a reference to a view
that is not within a pane. 

Fixes #2853