Fixed bug in iframe containment