[ticket/12615] Fixed inproper clearing of .topic-actions

PHPBB3-12615