It didn't. You can clearly see it didn't. It's on the line.
Have seen many examples of this kind of thing happening in the past though, keeper saves, runs off celebrating and the ball spins back in. Goal is always given, correctly so. But this one ends up on the line.