Fix loop marker locations when adding or removing envelope nodes.