Prevent trees from extending out of warzone

Closes #799