fix window popping out at you issue