fixed arrowpos for tooltips