diff --git a/src/secureCreatives.js b/src/secureCreatives.js
index 8505923c493..f8ba9477b52 100644
--- a/src/secureCreatives.js
+++ b/src/secureCreatives.js
@@ -81,7 +81,7 @@ export function _sendAdToCreative(adObject, remoteDomain, source) {
 
 function resizeRemoteCreative({ adUnitCode, width, height }) {
   // resize both container div + iframe
-  ['div', 'iframe'].forEach(elmType => {
+  ['div:last-child', 'div:last-child iframe'].forEach(elmType => {
     let element = getElementByAdUnit(elmType);
     if (element) {
       let elementStyle = element.style;