This usually happens when your butter is warm but the rest of your ingredients are cool. To avoid this from happening, try and get your ingredients to roughly the same temperature. If it does happen, no worries. Just give your garlic mixture a good whisk and carry on. It will still be delicious.