Fix deleted datalayer not being re-attached to map after reset