fixing window resize (map).