Fix jumping of shapes when Orthogonal Snap is enabled
We shouldn't take the toplevel shape layer into account when looking
for targets for snapping. The layer is not represented anyhow in the
rendering tree and its bounding box may conincide with the one of its
children shapes.
BUG:414336