Fixes FOUC (flash of unscrolled content)