            i 0]
       (if (< i cnt)
         (let [c (nth accepting-children i)
-              cy (m/mx-y (:position-matrix c))
+              cy (m/mx-y (get-property component [:this (:id c)] :position-matrix))
               line-index (if-let [matching (some
                                              #(if (<= (nth line-y1 %) cy (nth line-y2 %)) %)
                                              (range 0 (count lines)))]


(defn- sort-lines [lines] (map (fn [l] (sort component-comparator l)) lines))

(defn- group-by-lines [accepting-children]
  (let [cnt (count accepting-children)]
    (loop [line-y1 []
           line-y2 []

                                                       ;; in :throw-mode - use it to determine firt or last
                                                       (if (= :prev (:throw-mode parent-focus-state))
                                                         :last
                                                         :first)
                                                       nil)))]
                                 (focus-child-by-direction child-id (:throw-mode parent-focus-state))
                                 having-focus-state)
                               ;; No change in state but track focus movent direction
