Add extra logic for positioning cursor for the first time in input elements
Add extra logic for positioning cursor for the first time in input elements

Fixes commit 8dfd06ff2b5b30ec0e1f4d1b4663010547c94b6a.

operasoftware/operaprestodriver,operasoftware/operaprestodriver,operasoftware/operaprestodriver