A little mental down time is fine, but taking it in the middle of a problem makes it so she essentially starts the problem all over after her stare break.
She can make this small behavior change so that her math lesson doesn't fill all the available time in the morning.