(lib) Clean spaces
(gui) Allow paste ports / instance without selecting the target diagram
(gui) Fix location for pasted element