fix caption gap for chrome

fix caption gap for chrome when width is decimal