Fix deleting strings in editor