Fixing HistogramViewer layout problems