Deleting a component also deletes wires