There are many reasons your icing may not dry into a smooth flat layer. Ultimately, it won't matter to the kids and the cookies. However, a couple tips are to avoid applying too much icing to the cookie and to gently tap or shake the cookie just after dipping to make sure all the crevices of the cookies are filled in.