Fix undo of timestretch (#3905).