WMS single layer fix

Fixes a problem of the map not showing with a certain combination of request and configuration (old style config).