I think I got window resize working as intended.