Fixed a bug where removing the animation of a track wouldn't be taken
into account in the curve editor