The only options I can think of are not very enjoyable.
A larger enclosure with possibly no glass.. which is bad if you like visual cages like me.
Hm.. If he only does this at night, try putting a piece of soft-taped cardboard over the glass area so he can't see out of it. Making it seem less like an exit to attempt to get out of. (when I say soft-taped I mean weak tape so you can remove the cardboard and reuse it with the same tape)

Hes eating alright correct?