Fixed image loading issues in firefox extension