{{{Aims}}} All kinds of hairpats for you, love.
I don't want to have *that* kid that teachers dislike because they are behavioral issues.
Speaking as a teacher, I don't have kids I truly dislike. There are ones that annoy me sometimes, but I don't dislike them.
Also, you don't need to have all the answers right now. Talk with her teacher. See what she recommends. It could totally be attention-seeking behavior. It could also be that she learns best while moving. It could be a number of things. Meet with the teacher and use that as a first step.
You can also ask Em. Why does she walk around? Is she bored? Why doesn't she listen to the teacher? Why isn't she doing her work? A simple answer could be she just doesn't want to.
Bottom line: you are not a bad mother. You are doing nothing wrong. You and Joe love Em and want the best for her.