       @view.opts.textHeight =
         @dragView.opts.textHeight = getFontHeight @fontFamily, @fontSize
 
+      @fontAscent = fontMetrics(@fontFamily, @fontSize).ascent
+
       @view.clearCache()
 
       @dragView.clearCache()

        div.style.font = @fontSize + 'px ' + @fontFamily

        div.style.left = "#{textElement.bounds[0].x - @scrollOffsets.main.x}px"
        div.style.top = "#{textElement.bounds[0].y - @scrollOffsets.main.y}px"

        div.className = 'ice-transitioning-element'
        div.style.transition = "left #{translateTime}ms, top #{translateTime}ms"

          do (div, textElement) =>
            setTimeout (=>
              div.style.left = "#{textElement.bounds[0].x - @scrollOffsets.main.x}px"
              div.style.top = "#{textElement.bounds[0].y - @scrollOffsets.main.y - @fontAscent}px"
            ), 0

        top = Math.max @aceEditor.getFirstVisibleRow(), 0
