fix: Clear removing state on the moved child instead of its new parent (#3958)