Fix 2d histograms with discrete scales. (Fixes #129)