Just found out that the coolant reservoir has an overflow tube somewhere by the cap. I must have accidently pointed the funnel in that direction while filling up the reservoir, hence the spilling of coolant. Guess because of the bad location of the reservoir, it's hard to get the funnel into a straight position while filling.