Broken background in dashboards with static embedding on systems using dark appearance

The background of statically embedded dashboards is completely black and does not respond to the customization parameters defined in the query. This only happens on systems using a dark appearance. In light mode, the issue is resolved. This bug appeared after the latest Metabase update.

Statically embedded dashboard with the system in dark mode:

Statically embedded dashboard with the system in light mode: