Hibernian manager David Gray says he was disappointed with the way his side switched off to surrender a lead in their 1-1 draw at home to Hearts.