FIXED: major bugs in VisualInput and MotionPrediction