Ensure equal height for the selected graph items; fixes layout issues