I doubt Mary Shelley ever interacted with a black man.
Given Frankenstein was (loosely) based on the real (and very mad scientist) Baron Johann Dippel von Frankenstein and combined with European Jewish folktales of a golem gone mad, both of which had zero interaction with blacks, I find this particularly far fetched.
Yea...sometimes people just write stories.