Bug fix for handling CDN image sources to be manipulated in JS canvas