SDL_IsTextInputActive Bug on iPad

SDL_IsTextInputActive is incorrect and still returns true after the keyboard is dismissed on the iPad with the dismiss button instead of the return key.
I submitted a bug report with a patch if anyone is interested in confirming that this is a bug and confirming that the patch resolves it.