Fix 64 bit scrolling crash