     @showHighlight()
 
   resetBackground: ->
-    $('.line').css('background-color', '')
-              .css('border-top','')
+    $('.line').css('border-top','')
               .css('border-bottom','')
               .css('margin-bottom','')
               .css('margin-top','')
+    $('.line').each (index, line) ->
+      if $(line).attr('style')?.indexOf('background') isnt -1
+        top = $(line).css('top')
+        $(line).attr 'style', "position: absolute; top: #{top};" if top?
 
   makeLineStyleAttr: ->
     styleAttr = ''

      underlineColor: "255, 165, 0"}
    @defaultOpacity = 50

    @subscribe @editorView, 'cursor:moved', @updateSelectedLine
    @subscribe @editorView, 'selection:changed', @updateSelectedLine
    @subscribe @editorView.getPane(), 'pane:active-item-changed',
      @updateSelectedLine
    atom.workspaceView.on 'pane:item-removed', @destroy

    @updateUnderlineStyle()

              startLine = @findLineElementForRow(@editorView, start)
              endLine = @findLineElementForRow(@editorView, end)
              if @editorView.constructor.name is "ReactEditorView"
                topPX = $(startLine).css("top")
                selectionStyleAttrs[0] += "position: absolute; top: #{topPX}; width: 100%;" if topPX?
                topPX = $(endLine).css("top")
                selectionStyleAttrs[1] += "position: absolute; top: #{topPX}; width: 100%;" if topPX?

              $(startLine).attr 'style', selectionStyleAttrs[0]
              $(endLine).attr 'style', selectionStyleAttrs[1]
