Fix negative buffer size on CPU throttling