closed #4054: Removing child from TMXLayer may cause crash.