Fix window resize mappings