Yes, if the replay showed the ball just hitting the top of the wickets for example, it will be legitimate for the on field umpire to give that not out for being hit very far in front of the wicket. But in this case it was middle of middle stump. No question of considering the 2.5 m distance.