fix heatmap bug where parts were cut off at small widths