Fix error in localizing facets