Stepper motor losing its position