Fixed a bug in map disposal with IE8.