How do thermal vias work?

I had the same problems, I solved changing the local clearance from the footprint, take a look at this thread:

I hope it helps !