The butter was probably too warm. Try chilling them in the fridge for at least 30 minutes /1 hour before baking (after they're already piped).