fixup! Various fixes for PlatformWindow