App Not Loading in Shopify Iframe – Blocked Script Execution Due to Sandboxed Frame

I’m currently facing an issue with a newly created that fails to load inside the Shopify iframe due to a blocked script execution error related to sandboxing ( refer Screenshot ),

This same application works perfectly in a production version deployed earlier. Only this newly created staging version is affected.
I also found a community post describing the exact same issue, but it currently has no solution: