Fixed rubber tree generate condition.

old code is get top block and not changed in while loop.
if top block is air or null, y position is down to 0.