Handle top!==self case of iframe detection