nope it is not in your head. Many times the pet becomes impossible and dangerous, because they are not afraid of you. What you look at as petting and cuddling, the rooster looks at as you being subordinate to him. He attacks to prove that. They seldom stop this behavior, and you can never trust them after they have attacked you. I strongly suggest that you get rid of him.
Generally, when you keep roosters, keep the one that is a little bit afraid of you, that gets out of your way when you walk, that moves out of your space. Pet's often turn terrible with puberty.
Generally, roosters will attack children first, women second, and then men. That is why having a rooster around small children can be so dangerous, is that the roo will attack the child first, with what seems to be little warning. Inexperienced poultiers make the mistake of making excuses for the roo, because they don't want to believe that the rooster has gone rogue, or they don't want to do anything as in cull the rooster.
This will get worse, and it will severely reduce the pleasure of chickens for you. If you have trouble catching him, use a larger fishing net, the kind to scoop the fish out ofthe water. Just drop it over the top of him. He will subdue when he can't get away.
Mrs K