JBIDE-15640 BrowserSim: Fixing NPE for getActiveShell() on gtk3