Fix message box text sliding to the left

When typing in the message box (in Chrome at least) and getting to the
end of the line everything was scrolling left just a pixel or so. It was
annoying. This seems to fix it.