Improve positioning of input boxes.