fixed issue with hiding elements in iframe