Make the display of palette index 255 consistent between renderers Closes #405 See merge request !2351