A Q with no q before it restores nothing; the renderer ignores it. The check for translucency at the Do took it as restoring the opaque default, so a transparency group drawn after /H gs Q was inlined although it is drawn translucent.