That's true, but at some point, since late 80s and early 90s, this shifted radically in Europe. Can't speak for northern America though.
Of course, there is similar stigma to this day, but what OP was mentioning was real serious discrimination, ie. like ethnic minorities face, though to a much lesser extent.