Fixing the tooltip resizing during animation.