To Islam, Allah is greatly feared and respected, and any such lightheartedness is like playing with fire. Any reactions from your students are probably caused more by not knowing how to respond to such a joke, and not necessarily offense from you. That's a bit wordy, hope you know what I mean.