Cloud confluence ap-status-indicator has broken styles

Hi, we are using Javascript API dialog from AP which renders ‘ap-status-indicator’ containing loading spinner.

Since our plugin takes few seconds to load it would be nice to notify user that app is loading.
However while opening dialog this element is whole time set to dipsplay: none. And also I’ve noticed both indicator and message are rendered in left top corner with grey color on blue background. That’s makes them basically invisible.

I’ve been able to center them in dev tools by setting

.ap-status-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.ap-loading {
height: auto;
}

But since those elements are rendered outside our iframe I’m not able to restyle them permanently