Connected sortable grid lists behave weirdly, when dragging from second, third etc. row of a grid to an one-line grid

Connected sortable grid lists behave weirdly, when dragging from second, third etc. row of a grid to an one-line grid

I have two lists as grids, so <li> elements have float:left.
There is a list with the height of a single <li> element (so it looks like it's only one row).
Below this, there is another list which has got no limit to its height.

When I have one element in the first grid, and I move another element to this list from the second, third etc. row of the other list, the placeholder appears at the first place in the one-line list wherever I move the element. And this also happens when I have two or more elements in the first list. Because of this, there is another problem probably connected to this: bound event-functions don't get the right <li> element, I don't know why. But the main problem is the first one. I have no ideas how to solve the problem.

If you don't understand what I'm saying, then ask for a demo :)

Thank You, KisGabo