Fix text getting appended to vid_restart in command buffer

I was getting unknown command "vid_restart-button2" warning on OSX when trying to use alt-return to toggle fullscreen.