Merge pull request #23404 from alivedise/bugzilla/1039955/circular-activ...

...ity

Bug 1039955 - Fix direct circular activity, r=etienne
(cherry picked from commit 3f59dcdb71aed7147b2b9fc3716a0d4120e22a3d)