Fixed FOUC issues.