The raspberries might not have cooked down long enough on the stove. Allow the mixture to simmer a bit longer to evaporate excess moisture. Ensure you're using a fine mesh strainer to remove raspberry seeds and lemon zest, as these can contribute to a thinner consistency.