Bugfix: re-layout after changing table and list contents