[ticket/12265] Break the icons that aren't in loop in case extensions add more

PHPBB3-12265