[ticket/12662] IE8 fixes

PHPBB3-12662