Here is my way of bypassing the game security, i don't know if this trick will gonna work on your phone.
My Device: Samsung Galaxy S9+, Rooted.
1. Turn on Developer Option
2. Turn on Force Apps to be Resizeable
3. Open Dragon Knights Idle
4. Now Turn it Into Popup View. How? I don't know...