There is probably a much, much better way of going about this but one way is to go to layer with the ball on it and under Layer, untick Sky.
Now if you use an alpha over node, the bar should appear behind the ball. One obvious flaw is that the background of the ball's render layer will be gone. However, provided that they were originally sharing the same background, this might not be much of a problem.