Fix input_box refresh() out of order resize