Fixed bug preventing dragging created components in editor