fix issue [BEAM-1698] export of colour palette as image does not work properly when log colours are switched on