That's not a glitch. The children can't swim, so they walk on water.