Welcome, Shippos, to our forum. May you find it both informative and enjoyable. In you play, the ball remained alive while in the end zone with the results of a touchdown. If the fumble had gone out of bounds, even if muffed by the offense, it would be a touchback as the offense had put the ball in the end zone where the defense was in last possession.
Hope this helps.