Fix an issue of size settings with sprites