Tottenham's late show sinks Palace