Fixed bug where camera stopped after completed recording