Fix an issue where annotations are set too early in IE8