UI-2831 Wrong limit size when sharing a link with thumbnail - test and refix