Humans, unfortunately, are offended if you imply they look like gorillas.
What's a good fix? Human sensitivity is arbitrary, so the fix is going to tend to be arbitrary too.
If the algorithm doesn't work well they have problems to solve.
The internet is surely full of racist photos that could teach the algorithm. The algorithm could also have bugs that miss-categorize the data.
The real problem is that those building and managing the algorithm don't fully know how it works or, more importantly, what it had learned. If they did the algorithm would be fixed without a term blocklist.
Ideally we would see the training data, though its probably reasonable to assume a random collection of internet content includes racist imagery. My understanding, though, is that the algorithm and the model of data learned is still a black box that people can't parse and understand.
How would we know for sure racist output is due to the racist input, rather than a side effect of some part of the training or querying algorithms?