Tick stop calling after actor delete and undo in editor

After i added MyActor to the scene in the editor, Tick works. But after I delete MyActor from the scene and then do Undo to cancel the deletion, Tick stop called and this breaks my logic.

During this problem, the MyActor::Destroyed event fires normally and the actor’s unique ID remains the same as when it was added to the scene

How to start a Tick call again?

MyActor constructor contains this:

PrimaryActorTick.bCanEverTick = true;
PrimaryActorTick.bStartWithTickEnabled = true;

I also provided this:

bool MyActor::ShouldTickIfViewportsOnly() const
{
    return true;
}