That's simply not an enclosure suited for a tree frog. In fact, it looks pretty dangerous. They need tall enclosures, with a water dish for soaking, where they don't risk drowning if they misjudge a hop.