Path to background image

I have lately experienced a strange problem with background images and Im now wondering if someone had this and found a solution.

The problem is that blender sometimes is changing the search path to my background drawings to the lowest folder in my hiarky.
After this i have to manually go into “background image settings” and change this back for all 4 viewports.
Rather frustrating when it sometimes happens several times per hour.

The only time i know what I did when it happend was when i did ctrl+z in object mode but i have not manage to recreate this again.


Edit. I’m on Linux ubuntu if it helps.