Fix custom sizes double issue.