Croatia came from behind to knock Canada out of the World Cup with a 4-1 victory in their Group F clash.