St Mirren manager Danny Lennon remains confident despite the agonising 2-1 defeat to Partick Thistle at St Mirren Park.