Fixed codes so that sprites move with touches