Fix layout delete issue, fix layout adding to top of the area.