MIX: Consider srcdoc frames when finding an environment's origin.