Sprinkler goes off during graduation ceremony