Fixed a weird issue with input box.