Add missing override for the AppDelegate.Window property. Fix bug #11914