Attempt to reduce white flicker before page load