Loss is 1 but gradients are zero