Fix jittery keyboard dismiss with some hacky proofs-of-concept.