Fixed a bug where removing a curve would not remove its keyframe on the
timeline