Fix for maps not being displayed properly when no CORS proxy is set.