Make Color and Sprite component work together for DOM elements