Fix image sizing issue on Firefox