This happens because the generated "preview style tag" is added before the main style one. This change makes sure the theme is rendered right after the application style