[[ Bug 11044 ]] Prevent divide by zero when computing scrollbar thumbpos...

...ition