Don't purge the renderstate cache every frame.