ok i see what you're doing. So do what I said and render the tree on a different layer! that way you don't need to worry and you can use the tree's alpha to place it ontop of everything else.
A
Technical Director - Framestore
Currently working on: Your Highness
IMDB