Fixed bug preventing recordings from stopping.