     'fillColor': 'rgba(0, 0, 256, 0.3)'
     'cssClass': 'droplet-cursor-path'
   })
-  @textCursorPath.setParent @mainCtx
+  @textCursorPath.setParent @mainCanvas
 
   cursorElement = document.createElementNS SVG_STANDARD, 'path'
   cursorElement.setAttribute 'fill', 'none'


  # TODO maybe refactor into qualifiedFocus
  if i < @session.floatingBlocks.length
    @mainCtx.insertBefore record.renderGroup.element, @session.floatingBlocks[i].renderGroup.element
  else
    @mainCtx.appendChild record.renderGroup

Editor::drawFloatingBlock = (record, startWidth, endWidth, rect, opts) ->
  blockView = @session.view.getViewNodeFor record.block


    # Main canvas first
    @mainCanvas = document.createElementNS SVG_STANDARD, 'svg'
    #@mainCanvasWrapper = document.createElementNS SVG_STANDARD, 'g'
    #@mainCanvas = document.createElementNS SVG_STANDARD, 'g'
    #@mainCanvas.appendChild @mainCanvasWrapper
    #@mainCanvasWrapper.appendChild @mainCanvas
    @mainCanvas.setAttribute 'class',  'droplet-main-canvas'
    @mainCanvas.setAttribute 'shape-rendering', 'optimizeSpeed'

