     @buffer.width = (@resizing_canvas?.width or @refs.canvas.width) * DEVICE_PIXEL_RATIO
     @buffer.height = (@resizing_canvas?.height or @refs.canvas.height) * DEVICE_PIXEL_RATIO
 
-    for key, sprite of @sprites
+    histocache = @getAvatarPositions()?.positions or {}
+    for key, __ of histocache
+      sprite = @sprites[key]
       updating_opacity = sprite.target_opacity != sprite.from_opacity || sprite.opacity != 1
       if updating_opacity
         @buff_ctx.save()

    select_single_opinion user_opinion, 'keydown'


DOUBLE_BUFFER = true
hit_region_avatars = {}
hit_region_color_to_user_map = {}


      @sleeping = true
      return

    requestAnimationFrame =>

      if @buffer? 
        @dirty_canvas = false        
        @renderScene()

      setTimeout @drawToBuffer
          

  

