Fix iOS layout problems cause by image height css property.