Temperature error in a hydrostatic leveling system and its reduction