visibility-2d[editor]: Fix bug where parallel segments are removed.