Copy array instead of trying to catch enumeration exceptions. Hopefully fixes a few crashes in the renderer.