Fix a small bug on tooltips