Fix window resize key mapping.