fixed nonthreading cameracontroller