Like an absent-minded professor, maybe
• All over the map
• Directionless
• Straying from the subject
• Wandering aimlessly