Added check for whitebalance.