fix tooltip positions