Spinner rendering centered to window and behind components


When I call .mask() on my component, the spinner renders centered to the window (not page or component), and sometimes even behind other components. Where would I even start to debug this?
I’m currently doing something like the following:


The same thing happens if I trigger .loading() for the component’s data source.



This could be a CSS issue—look into the class for the spinner and its background to see what styles are being applied