Vimeo video cut-off issue on iPhone/iPad when exiting fullscreen with viewport-fit=cover attribute.

I am experiencing an issue with my iPad/iPhone app that was created using Add to Home Screen in Safari. When I remove a Vimeo video from fullscreen mode, the top of the window gets cut off, making it difficult to view the content.

The only way I've been able to fix the issue is by changing the orientation of the device. I have noticed that this issue occurs only when the viewport meta tag has the attribute viewport-fit=cover.

Has anyone else encountered this issue? Any suggestions on how to resolve it would be greatly appreciated.

Before Fullscreen

After Fullscreen