iOS 7 keyboard fixes.

Hopefully fixes #132.