Fixed some of the tooltip logic.