diff --git a/src/screen.js b/src/screen.js index 85f5fa3055..1109571767 100644 --- a/src/screen.js +++ b/src/screen.js @@ -863,7 +863,7 @@ group.on_write = group.on_write.filter(function(e, i, a) { return i == a.indexOf(e); }); - if (this.group.parent) { + if (this.group.parent && !group.parent) { group.parent = this.group.parent; } }