Fix iframe mode