Bug or feature? NaNs influence other variables in backprop

I don’t understand the last bit
Where is the 0 that gets multiplied to the NaN?