Try prevent flicker when loading homepage.