Fixed activity lifecycle for camera/glTexture