Fix initial element trigger in IE.