DEV: Revert "prevent auto-scroll when focus is set inside header panels" (PR #14829)

This reverts commit f444e3e3f704ef71c29d57461018b3a292ef905f.

After a little bit of reading, I managed to track down the root cause of the issue that the commit above was attempting to fix. The bug only occurs if the user has enabled Experimental Web Platform features in Chrome flags.


Once this is disabled, the bug no longer reproduces.

This PR removes the unnecessary code that was added to circumvent the bug.