       t0 = Date.now()
 
       if not (selected_indices and selected_indices.length and @have_selection_glyphs())
-        do_render(ctx, indices, @glyphView)
+        do_render(ctx, indices, @glyph)
       else
         # reset the selection mask
         selected_mask = (false for i in @all_indices)

        do_render(ctx, nonselected, @nonselection_glyph)

      dt = Date.now() - t0
      logger.trace("#{@glyphView.model.type} glyph (#{@glyphView.model.id}): do_render calls finished in #{dt}ms")

      @have_new_data = false
      ctx.restore()

        @set_data(false)
        @need_set_data = false

      @glyph._map_data()

      @selection_glyph._map_data()
      @nonselection_glyph._map_data()
