fixed bug where calling VolumeRGB.volume multiple times would give different values