Callum Jones scored a second-half equaliser as Rangers were held to a 2-2 draw by Dundee and missed the chance to go top of the Scottish Premiership.