Set crossOrigin on image