Oh I see.
So it was causing the onHeadersReceived to bind late/potentially after the iframe has been displayed
onHeadersReceived