better dragging of objects in castle-editor