Adds a fps limit to the runtime.