Fix feature layer editing.