Fixed issue with keyboard sometimes not reappearing.