Restore former logic

Last Drag.Move PR had a hidden bug. Fixed by restoring the former logic
inside the new method `setContainer()`