Prevent out of position tooltip

This avoid tooltip to be out of position when the text that triggers it is on separate lines, this make sure the text is on the same line.