     return [x_, y_]
 
   _set_base_point : (e) ->
-    [@x, @y] = @mouse_coords(e, e.originalEvent.layerX, e.originalEvent.layerY)
+    [@x, @y] = @mouse_coords(e, e.bokehX, e.bokehY)
     return null
 
   _drag_mapper : (mapper, diff) ->

        return
      if not @tool_active
        return
      if not @basepoint_set
        @dragging = true
        @basepoint_set = true

    }, {'local' : true})

  _drag : (e) ->
    [x, y] = @mouse_coords(e, e.bokehX, e.bokehY)
    xdiff = x - @x
    ydiff = y - @y
    [@x, @y] = [x, y]
