solves thermo_material button size bug