When creating a new vault .mod-root is not applied to the main panel.
.mod-root
This causes issues for themes that rely on .mod-root to detect the main panel.
After reloading the app, .mod-root class does appear.