This moved down so that the order of operations is correct: integrate, collide, resolve, render.