Don't recreate QNSWindow if we're going to need one right away

Follow-up on the previous commit unifying QNSWindow and QNSPanel.

Change-Id: I77cc89e1bcbae9ec9d252ac2016282539d65fd97