fix tooltip positioning