make sure we only execute Injectors and Scrapers if the frame is the top level doc