fix computation of maxImageHeight in ReactionBoxesNode, so that y-margin is correct