Fix IE8 range bug.
Fix IE8 range bug.