Help with a screen hiding extension

So there’s nothing I can do about those issues, short of modifying Mutter?
Can I workaround it some other way? Like using something other than BrightnessContrastEffect, that is not an offscreen effect?

Just for clarification, this should be a completely different issue from the one I experienced here, right? Because that doesn’t involve non primary display.