   # see Modal#hideModal
   dismissEditor: (e) =>
     @setState isEditingDescription: false if e.button == 0 &&
-                                  e.target == @overlay.current &&
+                                  e.target == @overlayRef.current &&
                                   @clickEndTarget == @clickStartTarget
 
 

            onClick: @dismissEditor
            onMouseDown: @handleClickStart
            onMouseUp: @handleClickEnd
            ref: @overlay

            div className: 'osu-page',
              el BbcodeEditor,

          y: d3.scaleLinear()
        modifiers: ['beatmap-success-rate']

      @_failurePointsChart = new StackedBarChart @chartAreaRef.current, options
      $(window).on 'throttled-resize.beatmapsetPageInfo', @_failurePointsChart.resize

    @_failurePointsChart.loadData @props.beatmap.failtimes
