I have leveled 2 whm now. And if there is one thing I have learned, it is how to take aggro from a party. It is really easy to do. Over cure, and medica. So, chances are you did nothing wrong. The white mage probably just wasn't watching his hate indicators on the enemy list and healed you before you actually needed to be healed.