Bugfix: layout preservation now works when adding one or more elements to the front/end of a list that has only one element.