Fixed issue where gamma was not maintained across level changes in 32bpp.