   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

    @setState pointsHash: @createRectangleObjects(x1, x2, y1, y2)

  createRectangleObjects: (x1 , x2, y1, y2) ->
    if x1 < x2
      LX = x1
      HX = x2
