Fix original window freezing