Remove layers when turning wms off