fixed image size issue with safari

Change-Id: Ic28ec983358c8301fa568292861faa1733e6a745