The sensor has interference from the servo motor that it is close to. Unscrew the sensor and move it away and the print should work fine.