fix the approach from right tooltip bug