Fix bug about releasing camera during pauses.