set a framerate limit