#4974: Fixed links after changing node's size