The first replay they showed from the 3rd base side looked like a homerun because it disappeared behind the foul pole. The second replay they showed, which must have been from somewhere in centerfield, looked like it was foul, because the ball disappeared behind the foul pole.
All in all a very difficult decision, I wouldnt be surprised if it was inconclusive and they went with the original call.