fix photo on firefox