Fix update map colors bug on Dom version.