camera functions with animations need fix