Drag/drop Group - Behaviour post drop

A drag and drop group set to “hide group” after dropping does actually hide itself but the “hidden” position seems to be the last dragged position. This is a problem when, for some reason, a workflow makes the hidden group reappear and the new position is not the original one.

The correct behavior I think it should be “hide group and move back”. Is there a way, with javascript or something else, to modify the current “hide group” behavior ? Is it possible to change the Bubble plugin ? Please let me know if someone bumped into this issue and what you may think. Thanks