Added a hack to make sure that scaling is disabled when volume is stored as double or float