Cleanup
Fix patchcanvas for when ports of different groups have the same id