Use crossOrigin attribute when loading images.