Fixes endless loop caused by -reloadInputViewIfNeeded. Fixes #49
Fixes a layout issue while rotating the device