Canvas resizes on window resize.