This is intended to eliminate the flicker that occurs when one widget hides the keyboard and then another shows it within the same update cycle.