I should also add that a mean rooster who attacks people is a problem. A rooster who mates hens in your presence is not the same thing at all. If you have an aggressive rooster who attacks people, get rid of him.
There is no need to stop the rooster from mounting hens in your presence. He's a rooster, that's what he does. He's not interested in you or your thoughts about it and isn't "acting out" toward you in any way. That's just what roosters do. If it "bothers" you, just get rid of the rooster, or put...