Windows: Updated iframe fix function