WMSCL-41: Making a WMS layer invisible before adding it to the map ignores the visibility setting.