Issue #840: fix incorrect pedigree state after some deletions (wrong Y coordinates of some nodes and their handles)