Finally fixed automatic camera motion.