What do you mean by 2D system window?
Can you share a screenshot?
Also, a question to you, I'm using the exact same code that you are, but the fileProdiver returned from
AndroidJavaClass fileProvider = new AndroidJavaClass("androidx.core.content.FileProvider");
is just returning null for me.
Could you maybe share your aar/plugin/manifest setup?