fix auto show virtual keyboard bug