Added a frame rate limiter.