Leeds Rhinos fought from eight points behind to edge St Helens 24-16 on Thursday and move top of the Super League table.