Fix flash of unstyled content