Fix histogram rendering.