The heat doesn't matter. It is most likely the UV rays that hurt the dragons. So the Dragons just got trap in an oven of UV lights that doesn't lose their potency by refracting.
Oh Crimson, what war crimes will you commit today.
Edit: @LuffyKun The dragon wasn't the girl. It is a diet version...