Fix issue #616 (deprecated isWindowPrivate)

Tested by comparing debug spew. @fmarier ptal