So I am trying to wire a security system using FPV cameras and old monitors.
This is the set up I am using:

So the camera itself has 3 wires. +5v (red), data (yellow), and ground (black). The data wire outputs composite video (the yellow,red,white cables that go into a tv). I then use a little converter box that changes that into VGA, which then goes into the computer monitor.
This works just fine when it's all in the same room. However, when I put the camera in a room quite far away from the display, it breaks.
So this is the setup:

The only difference here is that there are about 10 meters of additional signal cable between the camera and the box. And also, the camera is powered from the room it's in.
I thought maybe the set up is not working correctly, but if I get another camera and plug it in the same room as the display, it works.

I thought it would be that the signal cannot travel that far. But that's not the case. If I then add 10 meters of cable to the signal wire and trail it down the corridor the same way (I thought perhaps there was interference?), it still works:

But if I connect that 10 meter wire to the camera in the other room instead of the second camera I was testing it on in the display room, it miraculously breaks.

I know that the main camera works because if I put a second display in the room it's supposed to be in, it is working fine. But I want it to send that signal down the hall.

It seems to be something to do with being powered from a different room. And I cannot figure out why.
I know that sometimes electronics that are supposed to communicate get upset if they're connected to different grounds (LED strips in particular). Could it be something like that? Is there something really obvious I'm missing?
Thanks