Minimizing device and sample stage temperature differences