Fixed IE 6-8 bug