Fix the issue that the tooltips are always shown at the same position