Fix NaN errors in IE when scroller is invisible