Fix thermal frequency scaling