works perfectly on the browser version, App version always gets the wrong position