This works, for example, in KitKat.
But what about Android 7/8 ? (does not work according my tests) ScrollPosition returns new value, but actually there is no scroll.
Yes, in release mode
Under Android 4.4 (Samsung Galaxy s4) all worked with sleep (1).
I found a problem. I correct scroll position in some events, including IME. It looks that under different OSes there is another sequence of events. To my surprise, I found IME events like reaction to HideKeyboard (keyboard was not opened).