Fix for ability to create element, move element in same panel, move element from panel to panel.