                  mesh-assets :assets/meshes
                  mode :gamemode
                  orbdata :orbs} props
-                rendererprops {:width width :height height :rapidrender false}
+                rendererprops {:width width :height height :rapidrender false :style {:position "absolute" :top 0 :left 0}}
                 sceneprops (assoc rendererprops :camera "playercamera")]
             ;; until assets are loaded, just say "loading..."
             (if (or (nil? texture-assets)

                       (if (not= mode :playing)
                         (game-menu {:gamemode mode :width width :height height})
                         (dom/div #js
                                  {:style #js {:position "absolute" :top "20px" :left "20px" :color "white" :fontSize 30}}
                                  (str "Orbs remaining: " (count orbdata)))))))))



                                   :root-unmount js/ReactTHREE.unmountComponentAtNode})]
    (om/add-root! reconciler
                  GameScreen
                  (gdom/getElement "app"))
    ;; catch resize events and update the canvas
    (aset js/window "onresize" (fn [] (swap! app-state #(assoc %
                                                          :screen/width (.-innerWidth js/window)
                                                          :screen/height (.-innerHeight js/window)))))))


