fix style overflow by pixel rounding on images