Fixed heatmap scaling issues.