Making the styles available beforehand renders properly in some viewers