My understanding is that this artwork came first and was soon replaced with the “Sambo as a baby genie” motif.
This motif has been a classic of anti-modernism for two centuries in Europe.
In literature, art, or music, a recurring set of words, shapes, colors, or notes. In the poem “The Raven,” by Edgar Allan Poe, for example, the word nevermore is a motif appearing at the end of each stanza. Likewise, the first four notes of the Fifth Symphony of Ludwig van Beethoven are a motif that is developed and reshaped throughout the work.