fix for tooltip positioning