You may need another variable if what dop200 gave you does not solve it completely, call it lastX
On any touch end > set lastX to Sprite x then use Else after your is in Touch event to set Sprite.X to lastX
Or if it still snaps left use every tick > set lastX
Also,set lastX to middle of screen at the beginning of the layout or where you want your Sprite to start the game.