Fixes regression in IE.