Fix some rounding errors in Histogram view