Keep input boxes from overflowing viewport
Merge pull request #4121 from williamtheaker/4.5

Keep input boxes from overflowing viewport