In some cases, raising the baking temp and decreasing baking time will help the crystals melt. For other applications pureeing the sugar to a finer texture should avoid a grainy sugar texture.