If the parent element is set as "tbody", the width and height of the div element named "loadingoverlay" are set to 0.
As that result, when you give the "flex" option to the template in "LoadingOverlay", the crumpled form is printed, and is not centered too.
As I changed the parent element to "table", it worked normally.
There was no abnormality in Chrome and only in IE11.
Please check. Thank you.
(My mother tongue is not English, so please understand even if I'm a little clumsy.)