Dead trees dont spawn spiders

If pos is not set, get a randomTree and use its midPos
Update randomTree to first loop through all trees,
discard the dead ones and then return a random tree.