Added polling to stop flicker during prerender