TSX hits record high, then slips on oil