Merge "Fix missing exit animation when app is closed during starting window" into nyc-dev