fixed certain CSS properties being applied very late