Compile fix for osX.
[urlpreview] more fixes for autoscroll