I saw this movie on TV on a channel which broadcast children’s programs and British, Russian, Hungarian, etc. animation (Like “Count Duckula” “Penny Crayon”, “The Family Ness”, “Willy the Sparrow”…) and American animation films little known, as “The railway dragon”. This movie was 2D animation and I saw it in the late 90’s or early 2000s, so probably was made in the 80s or early 90s. I’m not sure if the movie is american or european. The film is starred by a boy who was coward. In company of another character he began a fantastic journey, I think into the world of dreams. Maybe the child was afraid by nightmares. At the end of the film appeared the villain, the King of Nightmares, an evil doppelganger of the child. He looked exactly like the child but with gloves and slippers clawed monster, similar to this:
I think this character appeared in the room of the protagonist.
After defeat the king of nightmares he overcome one’s fear too and he dont be afraid again.
I’m not sure but I guess that the child was black.
Definitely is not “Little Nemo in Slumberland”, neither an episode of “Midnight Patrol”.