Rescale smileys smoothly, fix #501