startDrag call order fixed

If startDrag returns false, no drag should occur. startDrag should be called first to check if dragging should occur and only then create a dragElement.