When I set frontPanelOpenHeight to 0 so that the closed front Panel takes up the whole space I get some Layout Issues on iPhone X. The bottom part of the screen isn't used by the front Panel

I don't have this problem on an iPhone 8 so it has definitely something to do with the "home button" of the iPhone X. Could someone help?