   getDeleteButtonPosition: ()->
     points = @state.pointsHash["handleHLDrag"]
     x = points[0] + DELETE_BUTTON_DISTANCE_X / @props.xScale
-    y = points[1] / @props.yScale
+    y = points[1] + DELETE_BUTTON_DISTANCE_Y / @props.yScale
     {x, y}
 
   getMarkButtonPosition: ()->


MINIMUM_SIZE = 5
DELETE_BUTTON_ANGLE = 45
DELETE_BUTTON_DISTANCE_X = 5
DELETE_BUTTON_DISTANCE_Y = 12
DEBUG = false

module.exports = React.createClass


  componentWillReceiveProps:(newProps)->
    x1 = newProps.mark.x
    x2 = x1 + newProps.mark.width
    y1 = newProps.mark.y
    y2 = y1 + newProps.mark.height
