       [:g.zoom
        {:transform (str "scale(" zoom ", " zoom ")")}
        (canvas)
-       #_(canvas conn
-                 page
-                 shapes
-                 {:viewport-height wb/viewport-height
-                  :viewport-width wb/viewport-width
-                  :document-start-x wb/document-start-x
-                  :document-start-y wb/document-start-y})
-       (grid (:grid-enabled workspace false)
-             wb/viewport-width
-             wb/viewport-height
-             wb/document-start-x
-             wb/document-start-y
-             zoom)]])))
+       (grid (:grid-enabled workspace false) zoom)]])))
 
 (def viewport
   (util/component

                              :opacity 0.75}])
                (html [:line {:key position
                              :y1 padding
                              :y2 width
                              :x1 position
                              :x2 position
                              :stroke grid-color

(def ^:static grid-color "#cccccc")

(defn grid-render
  [own enabled? zoom]
  (letfn [(vertical-line [position value padding]
            (let [ticks-mod (/ 100 zoom)
                  step-size (/ 10 zoom)]
              (if (< (mod value ticks-mod) step-size)
                (html [:line {:key position
                              :y1 padding
                              :y2 wb/viewport-width
                              :x1 position
                              :x2 position
                              :stroke grid-color
