Merge "Hide window immediately if itself doesn't run hide animation" into main