Issue #5970: Fix EditBox bug on iOS8