Program crashes when working from home.

When I use the software remote with a RDP session it won't open a file. I'm working from home and I take control of my computer at work. When I open DraftSight, the application starts and I can open files. But when I open a file directly, it gives an error and crashes. When I'm not using an RDP session and I just open a file from my computer it works perfectly. So only when I try to open a file directly when using a RDP session it crashes. Is this maybe a security issue because I'm using a VPN to connect to my computer at work?Thanks for the feedback!