Fix for the drag and drop of Element (UML), the old code work just for
NamedElement