Fixed camera capture crash