Fix iframe condition