Properly resize editor to expand to full screen.