Fixed bug that preventing “SCRIPT5: Access is denied” error in IE