Bug fix for scroll thumb marker position calculation