Komponent visibility issue

After creating an animation that changes the visibility of a komponent, if I delete the animation the komponent should return to its layer visibility state, but that does not happen. If you have an animation that for example fades out a komponent, if I delete that animation while the komponent was not visible, it will remain in that state.

Confirmed, editor only