Fixed camera release onPause.