fix keyboard crash bug  when view not in Scene not runAction of midView