Staff say they are often unable to teach as large groups of students roam the school.