fix(tooltip): Deal with overflowing right and left