There is no way to prevent them from melting. The kisses will start to melt slightly however they will harden back up once the cookie cools.