Removes the child surface after the transition end