fix resizing of correlationPlot