Fix the editing of clipping and masking objects

Merged username-removed-1637288 requested to merge stfacc/inkscape:edit-clip-object into master

See first patch. When selecting the "node tool", the knot handles for clipping objects are currently misplaced. Fixed by doing the same as for paths.

The second patch is not needed for the fix, just a cleanup touching some related code.