Redo object placement

Object are now placed relative to the grid.