JBIDE-13271 BrowserSim: simulator is closing unexpectedly while changing skin

fix