Having this same issue and I haven't been able to find a solution yet
Does someone have the same issue with Firefox ?
Window immediately turns black after launching Firefox. Switching between light/dark mode makes no difference.
Did a clean install on an Macbook pro 15 inch 2017 with Mojave
defaults delete -g NSRequiresAquaSystemAppearance