Seems some component inside the iframes was navigating the parent to about:scrdoc
All I needed to do to solve this was add sandbox attribute to the iframes and only restrict top-navigation.