IDE-965

Fix the redundant first/last marks in layout editor
when keep adding new columns to the first/last place.