Click anywhere in the document (the right frame) to get focus. If you click outside the document, it will lose focus.