Fixed a camera release bug