serviceDeskPortalHeader too large while loading

Hi folks,

I am implementing a Service Desk “serviceDeskPortalHeader” module. This module is supposed to add a small button to the header area. The problem is - while the app is loading, the size of the iFrame that loads the app is 300x150px. Which is much too big and it looks ugly, given that header is on the very top of the page.

There are no parameters that would force the iFrame to be any smaller while it is loading my app, unlike in some other Jira pages (e.g. general page).

Can something be done about this?