bugfix to canvasfeatures histograms