Fixes a bug while displaying an error in IE9.