correctly set the maxHeight parameter. We should think through how this gets exposed to users, as it probably shouldn't be hard-coded this way