US stocks turn positive after early losses