Update correctly if height of an item has changed