Fixes external image loading for the extension