I wasn't there observing the experiment while you and your class
performed it, so I don't really know how it was set up, or what
happened.
But I can tell you this: Light doesn't bend while passing through
any medium. It only bends at the boundary where one medium
meets a different one.