(gui) Fix issues with arguments propagation when ungrouping