Church shunned over leaflet on homosexuality