fix(web): publish restorePosition() function
fix(web): publish restorePosition() function

This makes the `osk.restorePosition()` function public and makes it work
even if the OSK is not presently visible. Also DRY out the repeated
implementation.

tavultesoft/keymanweb,tavultesoft/keymanweb