I have a glass tank with one and nothing happens.
Just try en keep it away from the glass like half en inch?
Wouldn't even matter anyway it'd probably heat the glass a littel bit if it was touching the wall. EDIT: oh and also if its in a 2.5 gallon tank the temp is 80.