elements added to the hbox are rendered in the correct location.