Giants get back on track following first loss