fixed tooltip position bug