Fix GUI in teacher mode