I have a feeling you're randomizing the position of every tree in your main loop FORs. Try making an array at the beginning and a FOR loop to go with it before the main loop. This initialization FOR loop should randomize the position of all the trees so that you can just take the array element and render a tree from there in the main loop.