fixed tooltip display bug by randomizing location