I have a Shiny app with a heatmap generated with ComplexHeatmap. I am using the brush option in plotOutput to select areas from the heatmap to draw a zoomed secondary heatma