prevent FOUT on Safari