Re-extend on window resize.