I think the issue as well, is that cause and effect comes into play, and since there has always been problems with drug use and homelessness, particularly in Glasgow, that's never gone away and it primarily impacts those in poverty. So when these issues arise those complaining are dismissed as ignorant, stupid and, essentially "racist" when actually it goes deeper than that. There probably are those within these groups who are racist, of course there are, but because they are looked down upon generally for being part of a poverty-stricken, working class, less educated background, any issues that genuinely arise that these groups are impacted by (such as what's happening in Glasgow) are immediately shut down.
Which ignores that there are issues that need to be looked at, not from a "racist!!!!" point of view, but for safety, wellbeing and dignity. Open drug dealing cannot continue. Sexual assaults and rapes cannot continue. Raising these issues is fair, and should not be shut down when the ethnicity or culture of those committing crimes is highlighted.