Aight, found a way to move your map towards the edge of the screen so that it fits with the fivem hud. Note that this may get you banned from normal gta online if you forget to remove it before you start playing it, as in my experience gta online tends to ban you for making any modifications to your actual game folder and actually playing with them. (not going to confirm this as i dont wanna get banned again)
okay here is the fix, again do this at your own risk, as long as you reverse it to normal whenever you want to play online you should be fine.
Download Notepad++ if you haven't already.
Once installed go to Plugins>Plugin Manager>Show Plugin Manager
Scroll to HEX-Editor and install it
Open GTA5.exe with Notepad++
Under Plugins>HEX-Editor>View in HEX
CTRL+F replace the two "39 8E E3 3F" with "8A E3 18 40" for 3440x1440 and "26 B4 17 40" for 2560x1080 minus the quotes.
Save and exit notepad ++