Calories not added to Garmin Connect

I recently switched from an edge 530 to 540 and also from a forerunner 745 to an 265. Before the calorie count would match the recorded activities. When I added up the activity calories  it'd match the active calories in the calorie section.

Now, with the new devices it looks like the calorie count from the forerunner is being used, instead of using the recorded calories on my edge (based on a power meter, so it's way more accurate.

As you can see here them 100km ride recorded a calorie burn of 2494 of which 2245 were active ones. In the calories secrion it says I have 1891 active calories.

How do I get Garmin Connect to use the calories burned from the actual activity?