attempt to fix cross origin image data