[ticket/11010] dealing with dimensions problem, removing extra code

PHPBB3-11010