Resize canvas to window; eat keystrokes