Reset modifiers when the window active state changes (#28348)

Closes #23449

Release Notes:

- Fixed a bug causing shift to get stuck down when the window focus
changes

---------

Co-authored-by: Dino <dinojoaocosta@gmail.com>
324e4658baConrad Irwin committed on 4/10/2025, 2:55:19 AM· committed by GitHubparented500da
2 files changedLine totals unavailable