Catch errors in selectionStart and setSelectionRange in latest Chrome for input types which doesn't support them