Fix some minor bugs around hashing palleted textures.