Oops, forgot to set the active window.