Fixed NPE with transparent color from image layer.