bugfix for reused widgets when cloning nodes