Bug fix: in some cases, color scale would be displayed whatever the display options