Fix for a flash of unstyled content.