Fix broken build in last code refactor. Sorry...
Workaround for crash-on-close issue of IE6.