langSwitcher adding a /

I have this issue where, if you switch the language when on the homepage, images from that page stop loading Example of an image path: user/pages/01.home/IMG_8877.jpg.

In the URL, I can see that it adds a / at the end http://localhost:8888/labete/fr/ vs http://localhost:8888/mysite/fr.

How can I prevent this?