Stepper Motor shifting position problem

Hey guys i have a project where i need to control several motors through Touchdesigner.
I have a basic problem with a normal AccStep library stepper.moveTo() function , the motor basically shift position on time ..What could it be the problem ? Maybe should i create a home position ? And which is the best way to achive accurate position where the stepper can go ?
Thank you in advance