It’s easy enough to set it manually:
mathbox.world().tRenderer().setClearColorHex(0x000000, 0)
but since the white background is hardcoded exactly at the position where other options are applied, I’m not sure why it’s hardcoded at all. (I’m using above line of code without problem)