Framerate limiter