Fix text selection on input on ipad/safari (Fix #265)