I have the same issue (form validation errors and AJAX form refreshes lose orientation changes), and the patch from #4 works great. Thanks varga!
I encountered this same issue, and the patch in #2 fixes the problem without causing issues when using entity browser in ME context. Thanks Alan!
I happen to work on a system that also has a separate patch for issue #3401444 applied, so I needed to re-roll this patch to work with that patch. I'm attaching that re-rolled patch here in case anyone else is in the same boat, or if the #3401444 patch gets merged first (but, again, people should use the patch from #2 otherwise).
Patch from #411 on Drupal 8.6.13 and PHP 7.2.15 works great. Thanks!
Patch from #24 is working great for me, thanks for all your work on this scott_euser!
Patch from #379 works great in Drupal 8.4. Thanks!