macosx: Fix more weak NSWindow references