Fix initial render if user scrolls during cookie cache