[ticket/12613] Fix dropdown-up positioning

PHPBB3-12613