fixed tooltip positioning bug