while workingの主語が主節の主語と一致しない例。

https://youtu.be/JWI5-vWqcGc の6:28あたり。
It would have banned state employees from wearing religious symbols while working.

https://youtu.be/3AuVv1ydWZ4 の7:39
While working on a team of writers, it is important for us to check our biases and assumptions at the door.

https://youtu.be/leK1X060xd4 の8:00
While working as an obstetrician helping mothers give birth, a back injury changed the course of her life.

文法説明でこういう説明は探せなくて、
大抵、主節の主語と一致している時に省略可ってことになってるけど、
実際には文脈上わかるなら省略もありって感じで運用されてる。