We weren't correctly handling the root view of the window -- we were just pushing it on to the stack, but that means it got written at the end. Instead, we now immediately write it after the window and let things follow from there. Change-Id: I070c96bd2443f312a7c6f495d1bf72fa19c614d6