Who says the part that hit Ranma had to go through the fire in the first place though? Surf hits a very wide area, and my mental mapping of everyone's position does not necessarily put Mokou and her flames in between Surf and Ranma. Plus, there's the Rule of Fun.