Fixed a tooltip overflow problem