         @debug_canvas.style.transform = 'scaleY(-1)'
         document.body.appendChild @debug_canvas
         @ctx = null
-    
+
     destroy_debug_canvas: ->
         document.body.removeChild @debug_canvas
         @ctx = null

                    i += 4
            @ctx.putImageData(@imagedata, 0, 0)
        return
        
    single_step_pick_object: (x, y) ->
        {gl} = @context.render_manager
        @step = 0

            @pixels.subarray(coords.index, coords.index+4))
        gl.scissor(0, 0, @width, @height)
        @pick_object(x, y)

    create_debug_canvas: ->
        if @debug_canvas?
            @destroy_debug_canvas()
