links: solve the wrong rendering order which occurs when a new object is created