Hibs have let 18 points slip from winning positions this season, the most in the league.
The bulk of those were before November when they were bottom of the league and struggling, so the frustrating thing for Gray and his rejuvenated team will be the relapse into old habits.
They looked as though they had the perfect balance of grit, determination and quality on a horrible surface after Levitt got them in front.
It was a classy finish from a player whose Hibs career was petering out until recently, and Triantis showed his growing influence with another assist.
The way the Australian plucked the ball out of the sky from a corner, held off a defender and flicked it to Levitt demonstrated his quality.
They looked more likely to add to their lead than concede, but the tempo dropped in the second half and poor play from Smith to react late to a cross cost them.
The Hibs goalkeeper did well to save White's penalty in the first half and has been part of their turnaround, but there is still a sense it is a position of weakness.