Check render on window resize.