Fixed error handling when user denies access to camera.