Fixes for histogram2d.