         @all_anim_objects= []
         @root = @canvas = canvas = root
         @MYOU_PARAMS = MYOU_PARAMS
+        @hash = Math.random()
         # The root element needs to be positioned, so the mouse events (layerX/Y) are
         # registered correctly, and the canvas is scaled inside
         if getComputedStyle(root).position == 'static'

                if s.length
                    window.requestAnimationFrame(=> @on_scene_ready(k))

create_canvas = (root)->
    canvas = document.createElement 'canvas'
    if root?

            MYOU_PARAMS.gl_options or {antialias: true, alpha: false}
        )



        @update_canvas_rect()

        resize_canvas = =>
            render_manager.resize canvas.clientWidth, canvas.clientHeight
            @update_canvas_rect()

        window.addEventListener 'resize', resize_canvas

