FOUC prevention