When you walk into the room, on the left corner there is a little lip on the wall that you can stand on. If you run and jump from there, you'll get to the fence. If you just spam jump while on the fence, there's apparently some part you can jump on and it gets you over the fence.