fix for click outside active window or iframe