Merge "Fix crash when minimizing a window using keyboard shortcut as the transition was not running on the shell main thread." into main