Attempting to make position of tooltip more reliable