I believe the intent behind the action is what is important. I cut my hair to donate to children who can't grow hair, is that wrong? No, I don't think so. Because my intent is to give to others what God has blessed me with: Thick, wavy hair.
See? Intent, what is in your heart.