Added better positioning for tooltips