When creating a new vault .mod-root is not applied to the main panel

When creating a new vault .mod-root is not applied to the main panel.

This causes issues for themes that rely on .mod-root to detect the main panel.

After reloading the app, .mod-root class does appear.