I think what datarebal is suggesting is cut the horizontal pipe somewhere next to the fence, put the offset on the end, and run a pipe between that and the branch? I agree that would look a lot better.
However, it looks to me like you might be able to simply run the horizontal pipe at an angle and straight into the branch, without any joints at all. It's hard to tell without knowing how long the pipe is the other side of the fence, but if that isn't possible I'd do what datarebal has said.