Alternate method for sizing non-active code panes

Instead of waiting until the pane is shown, find which pane _is_ visible
and copy it's size.