changes wrong palette rendering