Fix scrolling to errors in IE