don't let ace place text area off-screen

This fixes a console flickering bug whereby text input would cause
the console to flicker -- because the text area was receiving focus
offscreen, the div containing the console history would be temporarily
scrolled to the top while it received input, and then scrolled back.