It's not a contradiction, loving others as you would love yourself is meant as a way of saying to spread the word of god. Though the Bible does state homosexuality as a sin, it also states a plethora of actions as sins that every being is guilt of doing, no man is without sin and the "Christians" that do persecute homosexuals are misguided