Fix colour mapping NPE in surface mode (DAWNSCI-5697)