[Popup] Fixed problem with Popup module when appears in iframe (#3849)