Fix flash of unstyled text