Optimize repositioning of a tooltip when interactive layout is updated

[#50996763]