Fixed png palette loading bug