Deal with race condition where iOS keyboard would jump underneith button press.