Bug 1026424 - Remove explicit frame switching where activityWindow is used