Added paint Images on canvas before adding to DOM