Dark mode toggle doesn't work in non-iFrame editor

This is exactly it. The toggle itself works, but it doesn’t change the preview.

Because I have my UI set to dark, it shows all sections as dark by default, and the toggle has no effect. Works as it should on the front-end though.