 
       return unless @dragStarted
 
-      if @config.helper is 'clone'
+      if @getConfig().helper is 'clone'
         # Destroy the helper
         @$helper.remove()
         # Trigger the click event on the original element

      @setupElement() unless @setupPerformed

      # Call any user-supplied start callback
      @config.start?(e)

      # Store the start offset of the draggable, with respect to the document
      @elementStartDocumentOffset = @$element.offset()

      # Configure the drag helper
      @$helper =
        switch @config.helper
          when 'clone' then @synthesizeHelperByCloning @$element
          else @$element # Use the element itself


      @cancelAnyScheduledDrag()

      # Call any user-supplied stop callback
      @getConfig().stop?(e)

    handleDrag: (e) ->
      @scheduleDrag =>
