ScrollToText only scroll up and does not scroll to the particular text

Hi, i have this problem for executing automation test scripts produced in Katalon Windows version, but when i try to execute it on Linux machine, it cannot perform the ScrollToText properly, as it suppose to scroll to the text instead of only scroll up and not scrolling down to look for the text. Anyone please help?