Moving the requestAnimationFrame to the top of the render loop.

- Performance in 3d is pretty terrible right now.  Will track that down soon.