Camera now active only if the fragment is viewed.