Fixed an NPE with fruit tree leaf rendering