Men whom I have counseled have told me similar stories. They become stimulated, and some even become triggered by such activity in the church. Their mind wanders away from worship and often this stimulation leads to acting out once they leave church. Not only do some become triggered by viewing worship leaders but sometimes they also become stimulated by the way that some women dress in the church. If they attend a church that "hugs," these men may also be triggered by such activity.
These men need the strength that comes with corporate worship but it often backfires for them.
How does a man who is addicted to sexual activity keep himself from becoming triggered when he goes to church? This is an extremely difficult thing for such men to work thru. There are no easy answers and it takes real work to follow thru with some of these ideas:
1 - Don't sit up front or where you can see the worship leaders
2 - Or sit close to the front behind a large person who will block your view (that way you won't see the women in the congregation nor the women up front)
3 - Close your eyes when you are singing
4 - Concentrate on the Creator rather than the creation
5 - Come late to the service so that you miss the worship time
6 - Consider going to a church that does not have such stimulating activity
7 - Sit with a male friend who knows of your struggles who will help you stay focused and not let you look around and who will pray for you while in church
8 - Talk to your pastor about your struggles and ask for assistance/ideas
9 - Join an accountability group and be honest about your thoughts during church and also pray about your mutual struggles.
These ideas are very hard to do and take much prayer, much mental discipline and the empowerment of the Holy Spirit.
The answer is not to just make sure that women dress correctly. In case you didn't know, in churches that have organs, many have a screen so that you cannot see the organist's feet. This is done because it used to be too sensual for men to see the organist's naked foot. So, policing what women in the church wear is not the answer.
If you are a pastor, worship leader, or someone in a position of authority in your church, I would encourage you to spend some time thinking and praying about your church and what kinds of messages your church may send to people who struggle with sexual sin. Ask God to give you wisdom so that your church is healthy and not a hindrance.
BE A MAN.