BUG: Fix the issue that the incoming/outgoing nodes in the I/O configuration are not removed properly whe those nodes are removed from the scene.