It will be good if Manager.Current.ActiveBrowser.Frames.RefreshAllDomTrees() to support dynamic frame change and handle the current state.
Very disappointing exception, it would be really nice to get it fixed.