Double buffer the animation, simulation, and interaction modes.