This is shallow thinking.
Let us take an example. Is 1933’s King Kong just a story about a big ape? Or is it about a powerful black thing that is taken from its jungle in chains and brought to America where it wants to escape and grab white women?
Did the filmmakers INTEND the story to be a racist nightmare? No. Is it, nevertheless? Yes.