Catch possible "Permission denied" error on iframe elements in IE