I would use a glass that is a bit taller than the actual cone and one whose diameter is close to that of the cone. This way, the candy stays in the cone and the treat bag when it's added.