it goes down through the opening in the hinge and then makes a 90 degree turn into the fender... you may have to take the hood back off to re-attach it.
I dont think you're wipers grew a mind of their own though... are you sure your not hitting the lever???
here is a link to a pic that will hopefully help.