One solution was presented in this movie - Wenwu is the villain, but he's not a dehumanizing racial stereotype. (there are plenty more - I think you're overstating the resistance to see POC as villains, though studios seem more gun-shy about it. Stereotypical depictions of Russian or German villains are bad too if those depictions demean an entire nationality and the filmmaker should be called out on it.