Added framerate limiter