       @changedCallbackY distY * User.Configuration.mouseRotateValue if distY isnt 0
 
   mouseEnter : (evt) =>
-    if !(evt.which == 1) and @activeCallback?
+    # don't invoke activeCallback, when leftclicking while entering
+    if evt.which != 1 and @activeCallback?
       @activeCallback()
 
   mouseWheel : (evt, delta) =>
-    if @changedCallbackMW?
-      @changedCallbackMW(delta)
+    if @changedCallbackMouseWheel?
+      @changedCallbackMouseWheel(delta)
       return false      # prevent scrolling the web page
     
   mouseDown : (evt) =>
     # check whether the mouseDown event is a rightclick
     if evt.which == 3
       # on rightclick, return mouse position relative to the canvas
-      @changedCallbackR [evt.pageX - $(@target).offset().left, evt.pageY - $(@target).offset().top], 0
+      @changedCallbackRightclick [evt.pageX - $(@target).offset().left, evt.pageY - $(@target).offset().top], 0
     else
       if @activeCallback?
         @activeCallback()

  # gets the relative mouse position as parameter
  ###
  bindR : (callback) ->
    @changedCallbackR = callback

  bindW : (callback) ->
    @changedCallbackMW = callback

  unbind : ->
    $(@target).off 

      "mouseup"   : @mouseUp

    $(@target).on 
      "mousedown" : @mouseDown
      "mouseenter" : @mouseEnter
      "mousewheel" : @mouseWheel
