The filter you added should not be an issue.
But if the shortcode does not supply the correct post ID then you will need to provide that.
You can try
$terms = get_field('ti_tag_test', get_the_ID());
But I can’t guarantee that will work, it really depends on how the shortcode plugin/function works.