while it probably would be ok if you left it exposed for a short while, something it could experience in the wild, i would feel more comfortable removing it from the glass and putting it somewhere else.
theyre super easy to remove from smooth surfaces like glass, and now might be a good time to rearrange your rockwork or flow in order to keep your magnifica happy in a less annoying spot than the side of your tank...