fix calculation of dynamic height of the ChoiceBox screen