Resolves IE8 bug