fix deactive button fail when non-browser window exists