I still havent worked out how to move the UI properly, so I deal with them the same way i deal with the F10 view.
I have a streamdeck button set up, (but you could use any key mapping/macro software), that sets my display warping back to normal desktop '2D' setting, them presses F10. So one key press gets me back to the 2D F10 map view.
I mostly turn the other in game overlays off. If i could find a way to easily move them I would, but I cant get them to warp correctly with the outside viewport.
https://github.com/RobinMLi/DCS-CDU-Display
Thats the code i used.
Make sure you read the instructions (like i didnt first go around) and change your default font, otherwise some special characters wont display and you will get all sorts of nonsense displaying