reactivePlot: fix infinite recursion when height/width is function